package com.yonyou.crm.sys.login.rmimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yonyou.crm.sys.login.rmitf.ILoginRmService;
import com.yonyou.crm.sys.user.entity.UserVO;
import com.yonyou.crm.sys.user.service.UserBizServiceImpl;

@Service("loginService")
public class LoginRmServiceImpl implements ILoginRmService{

	@Autowired
	private UserBizServiceImpl bizService;
	
	@Override
	public UserVO login(String code) {
		
		UserVO user = bizService.getUserByUserName(code);
		 
		return user;
	}

}
